import request from '@/utils/request'

// 查询内部支领单支领版列表
export function listIssuseapplayinternal(query) {
  return request({
    url: '/wm/issuseapplayinternal/list',
    method: 'get',
    params: query
  })
}

// 查询内部支领单支领版详细
export function getIssuseapplayinternal(lineId) {
  return request({
    url: '/wm/issuseapplayinternal/' + lineId,
    method: 'get'
  })
}

// 新增内部支领单支领版
export function addIssuseapplayinternal(data) {
  return request({
    url: '/wm/issuseapplayinternal',
    method: 'post',
    data: data
  })
}

// 修改内部支领单支领版
export function updateIssuseapplayinternal(data) {
  return request({
    url: '/wm/issuseapplayinternal',
    method: 'put',
    data: data
  })
}

// 删除内部支领单支领版
export function delIssuseapplayinternal(lineId) {
  return request({
    url: '/wm/issuseapplayinternal/' + lineId,
    method: 'delete'
  })
}
